package com.woniuxy.service.impl;

import com.woniuxy.dao.WarehouseTypeDao;
import com.woniuxy.entity.ResponseEntity;
import com.woniuxy.service.WarehouseTypeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
@Service
public class WarehouseTypeServiceImpl implements WarehouseTypeService {
    @Resource
    WarehouseTypeDao warehouseTypeDao;
    @Override
    public ResponseEntity findAll() {
            return new ResponseEntity<>(200, "成功", warehouseTypeDao.findAll());
        }
    }

